github.com/andybalholm/brotli/matchfinder.ZDFast.history (field)
18 uses
github.com/andybalholm/brotli/matchfinder (current package)
zdfast.go#L18: history []byte
zdfast.go#L29: z.history = z.history[:0]
zdfast.go#L38: if int(z.current) >= int(math.MaxInt32)-2*z.MaxDistance-len(z.history) {
zdfast.go#L39: minOffset := z.current + int32(len(z.history)) - int32(z.MaxDistance)
zdfast.go#L61: if len(z.history)+len(src) > cap(z.history) {
zdfast.go#L63: if cap(z.history) == 0 {
zdfast.go#L65: z.history = make([]byte, 0, historySize)
zdfast.go#L68: offset := len(z.history) - z.MaxDistance
zdfast.go#L69: copy(z.history[:z.MaxDistance], z.history[offset:])
zdfast.go#L71: z.history = z.history[:z.MaxDistance]
zdfast.go#L74: s := int32(len(z.history))
zdfast.go#L75: z.history = append(z.history, src...)
zdfast.go#L83: src = z.history
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |